package com.scf.fruit.hospital;

import com.alibaba.fastjson.annotation.JSONField;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author : 孙超飞
 * @title :
 * @description :
 * @date : 2018-04-20 17:01
 */
@Entity
@Table(name = "hospital_visit")
public class HospitalVisitDto {
    @Id
    @Column(name = "id")
    private Long id;
    @Column(name = "province")
    private String province;
    @Column(name = "city")
    private String city;
    @Column(name = "hospital_name")
    private String hospitalName;
    @Column(name = "hospital_type")
    private String hospitalType;
    @Column(name = "department")
    private String department;
    @Column(name = "director")
    private String director;
    @Column(name = "director_phone")
    private String directorPhone;
    @Column(name = "deal_name")
    private String dealName;
    @Column(name = "dealer_control_name")
    private String dealerControlName;
    @Column(name = "dealer_control_phone")
    private String dealerControlPhone;
    @Column(name = "dealer_operator_name")
    private String dealerOperatorName;
    @Column(name = "dealer_operator_phone")
    private String dealerOperatorPhone;
    @Column(name = "sale_product")
    private String saleProduct;
    @Column(name = "visit_plan")
    private String visitPlan;
    @Column(name = "visit_result")
    private String visitResult;
    @Column(name = "action_plan")
    private String actionPlan;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "create_time")
    private Date createTime;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "user_name")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getId() {
        return id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalType() {
        return hospitalType;
    }

    public void setHospitalType(String hospitalType) {
        this.hospitalType = hospitalType;
    }


    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getDirectorPhone() {
        return directorPhone;
    }

    public void setDirectorPhone(String directorPhone) {
        this.directorPhone = directorPhone;
    }

    public String getDealName() {
        return dealName;
    }

    public void setDealName(String dealName) {
        this.dealName = dealName;
    }

    public String getDealerControlName() {
        return dealerControlName;
    }

    public void setDealerControlName(String dealerControlName) {
        this.dealerControlName = dealerControlName;
    }

    public String getDealerControlPhone() {
        return dealerControlPhone;
    }

    public void setDealerControlPhone(String dealerControlPhone) {
        this.dealerControlPhone = dealerControlPhone;
    }

    public String getDealerOperatorName() {
        return dealerOperatorName;
    }

    public void setDealerOperatorName(String dealerOperatorName) {
        this.dealerOperatorName = dealerOperatorName;
    }

    public String getDealerOperatorPhone() {
        return dealerOperatorPhone;
    }

    public void setDealerOperatorPhone(String dealerOperatorPhone) {
        this.dealerOperatorPhone = dealerOperatorPhone;
    }

    public String getSaleProduct() {
        return saleProduct;
    }

    public void setSaleProduct(String saleProduct) {
        this.saleProduct = saleProduct;
    }

    public String getVisitPlan() {
        return visitPlan;
    }

    public void setVisitPlan(String visitPlan) {
        this.visitPlan = visitPlan;
    }

    public String getVisitResult() {
        return visitResult;
    }

    public void setVisitResult(String visitResult) {
        this.visitResult = visitResult;
    }

    public String getActionPlan() {
        return actionPlan;
    }

    public void setActionPlan(String actionPlan) {
        this.actionPlan = actionPlan;
    }
}
